package com.tristen.gulimall.product.feign;

import com.tristen.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author admin
 * @version 1.0.0
 * @ClassName wareFeignService.java
 * @Description TODO
 * @createTime 2022年01月17日 16:42:00
 */
@FeignClient("gulimall-ware")
public interface WareFeignService {
    @PostMapping(value = "/ware/waresku/hasStock")
     R getSkuHasStock(@RequestBody List<Long> skuIds);

}
